using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Diagnostics;

namespace CodePlex.Resourceful
{
    public class TraceTextWriter : TextWriter
    {
        public static readonly TraceTextWriter Instance = new TraceTextWriter();

        private TraceTextWriter()
        {

        }


        public override void Write(string value)
        {
            Trace.Write(value);
        }

        public override void WriteLine(string value)
        {
            Trace.WriteLine(value);
        }


        public override Encoding Encoding
        {
            get
            {
                throw new NotImplementedException();
            }
        }
    }

}
